home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
windows
/
games
/
wincapt.arj
/
WEPCODE.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-03-12
|
2KB
|
49 lines
// -----------------------------------------------------------------
// File name: WEPCODE.C
//
// This is the source file that contains the DLL's Windows Exit
// Procedure (WEP).
//
// Description of functions:
//
// WEP - The Windows Exit Procedure. Every DLL must have
// one of these.
//
//
// Development Team: Dan Ruder
//
// Written by Microsoft Product Support Services, Windows Developer Support.
//
// Copyright (c) 1991, 1992 Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------
#include <windows.h>
// -----------------------------------------------------------------
//
// WEP()
//
// Purpose: Called by Windows just before Windows unloads the DLL.
//
// Parameters: int nParameter - This is a dummy parameter.
// Windows expects this parameter
// so be sure to include it.
//
// Return Value: Always returns 1 to indicate success.
//
// Comments: Every DLL MUST have a WEP. WEP, as defined here, is the
// proper way to define a WEP; do not do anything else
// except return 1 because the WEP is called on the Windows
// Kernel's stack, which is very small.
//
// History:
// Date Author Reason
// 1/30/92 Dan Ruder Created
//
// -----------------------------------------------------------------
int FAR PASCAL WEP (int nParameter)
{
return (1);
}